//
//  ZDBGamePeopleInfoView.m
//  ZDB
//
//  Created by 微笑吧阳光 on 2020/4/6.
//  Copyright © 2020 ZDB. All rights reserved.
//

#import "ZDBGamePeopleInfoView.h"

@implementation ZDBGamePeopleInfoView

/*
// Only override drawRect: if you perform custom drawing.
// An empty implementation adversely affects performance during animation.
- (void)drawRect:(CGRect)rect {
    // Drawing code
}
*/

-(void)awakeFromNib{
    
    [super awakeFromNib];
    
    KViewRadius(self.headerimage, 20);
    
    
    
}

-(void)setUserDicc:(NSDictionary *)userDicc{
    _userDicc = userDicc;
    //nikeName
    self.nickname.text =  [userDicc jsonString:@"nikeName"];;
   // self.number1.text = [NSString stringWithFormat:@"¥%ld",[fristModel.money integerValue]];
    [self.headerimage sd_setImageWithURL:[NSURL URLWithString:[userDicc jsonString:@"headImage"]] placeholderImage:PlaceHolderImage];

}
@end
